// ignore_for_file: unused_import

import 'package:flutter_test/flutter_test.dart';
import 'package:qx_global_ads/qx_global_ads.dart';
import 'package:qx_global_ads/src/ad_fetcher.dart';

void main() {
  test('Fetch banners data', () async {
    final banners = await AdFetcher.fetchAds(AdType.banner1);
    expect(banners, isA<List>());
  });

  test('BannerWidget should display image when data is loaded', () {
    // 在这里进行测试 BannerWidget 是否正确显示广告图片
    // 需要为其设置 mock 数据来模拟广告加载
  });
}
